package com.aceitunaproject.clientinterface.eventadapters;
import java.util.List;
import com.aceitunaproject.clientinterface.eventregistering.MapAreaRefreshHandler;
import com.aceitunaproject.shared.message.Message;
import com.aceitunaproject.shared.message.concrete.MapAreaRefreshEvent;

/**
 * Adapter for the MapAreaRefresh event handler
 */
public class MapAreaRefreshAdapter extends BasicAceitunaEventAdapter {
	public MapAreaRefreshAdapter(List<Object> handlers) {
		super(handlers);
	}

	public MapAreaRefreshAdapter() {
	}

	@Override
	void triggerInHandler(Object handler, Message message) {
		((MapAreaRefreshHandler) handler)
				.MapAreaRefresh((MapAreaRefreshEvent) message);
	}

}